Created
January 9, 2022 04:35
-
-
Save yakumo-proj/f9dfaed9aa9bf834d9310d52ba126a30 to your computer and use it in GitHub Desktop.
vroidcustomitem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
import "google/protobuf/wrappers.proto"; | |
//import "google/protobuf/any.proto"; | |
package com.AlterCoord; | |
option csharp_namespace = "com.AlterCoord"; | |
// Common | |
message ColorRGBA { | |
float r = 1; | |
float g = 2; | |
float b = 3; | |
float a = 4; | |
}; | |
//Common | |
message Name { | |
google.protobuf.StringValue userDefinedString = 1; | |
google.protobuf.StringValue localizationKey = 2; | |
string fallbackString = 4; | |
reserved 3, 5 to max; | |
}; | |
message Texture { | |
string name = 1; | |
bytes image = 2; | |
}; | |
message HeaderCommon { | |
message InitialInfo { | |
string objectId = 1; | |
string initialId = 2; | |
string initialRevision = 3; | |
}; | |
uint32 schemaVersion = 1; | |
string fileName = 2; | |
string objectName = 4; | |
uint32 vroidDataVersion = 5; | |
Name name = 6; | |
InitialInfo initialInfo = 7; | |
reserved 3; | |
}; | |
message TransferableBody { | |
string id = 1; | |
reserved 2, 3, 4, 5; | |
message Textures { | |
map<string, bytes> textureMap = 1; | |
}; | |
Textures renderedTextures = 6; | |
}; | |
// clothing_defs.bin file format | |
message Transferable { | |
HeaderCommon common = 1; | |
string categoryId = 2; | |
TransferableBody body = 3; | |
uint32 dataVersion = 4; | |
}; | |
message TransferableGroup { | |
message TransRef { | |
string template = 1; | |
string id = 2; | |
bytes materialAndBlendshapes = 9; | |
}; | |
HeaderCommon common = 1; | |
string categoryId = 2; | |
string groupEditType = 3; | |
repeated TransRef transItems = 4; | |
repeated TransRef materialAndBlendshapes = 5; | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment