Skip to content

Commit ba7fa40

Browse files
committed
up
1 parent 5a72552 commit ba7fa40

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

Assets/Plugins/kbengine_unity3d_plugins/KBETypes.cs

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static implicit operator Byte(UINT8 value)
2929
return value.value;
3030
}
3131

32-
public static implicit operator UINT8(int value)
32+
public static implicit operator UINT8(Byte value)
3333
{
3434
Byte tvalue = (Byte)value;
3535
return new UINT8(tvalue);
@@ -66,7 +66,7 @@ public static implicit operator UInt16(UINT16 value)
6666
return value.value;
6767
}
6868

69-
public static implicit operator UINT16(int value)
69+
public static implicit operator UINT16(UInt16 value)
7070
{
7171
UInt16 tvalue = (UInt16)value;
7272
return new UINT16(tvalue);
@@ -103,7 +103,7 @@ public static implicit operator UInt64(UINT64 value)
103103
return value.value;
104104
}
105105

106-
public static implicit operator UINT64(int value)
106+
public static implicit operator UINT64(UInt64 value)
107107
{
108108
UInt64 tvalue = (UInt64)value;
109109
return new UINT64(tvalue);
@@ -140,7 +140,7 @@ public static implicit operator UInt32(UINT32 value)
140140
return value.value;
141141
}
142142

143-
public static implicit operator UINT32(int value)
143+
public static implicit operator UINT32(UInt32 value)
144144
{
145145
UInt32 tvalue = (UInt32)value;
146146
return new UINT32(tvalue);
@@ -177,7 +177,7 @@ public static implicit operator SByte(INT8 value)
177177
return value.value;
178178
}
179179

180-
public static implicit operator INT8(int value)
180+
public static implicit operator INT8(SByte value)
181181
{
182182
SByte tvalue = (SByte)value;
183183
return new INT8(tvalue);
@@ -214,7 +214,7 @@ public static implicit operator Int16(INT16 value)
214214
return value.value;
215215
}
216216

217-
public static implicit operator INT16(int value)
217+
public static implicit operator INT16(Int16 value)
218218
{
219219
Int16 tvalue = (Int16)value;
220220
return new INT16(tvalue);
@@ -251,7 +251,7 @@ public static implicit operator Int32(INT32 value)
251251
return value.value;
252252
}
253253

254-
public static implicit operator INT32(int value)
254+
public static implicit operator INT32(Int32 value)
255255
{
256256
Int32 tvalue = (Int32)value;
257257
return new INT32(tvalue);
@@ -288,7 +288,7 @@ public static implicit operator Int64(INT64 value)
288288
return value.value;
289289
}
290290

291-
public static implicit operator INT64(int value)
291+
public static implicit operator INT64(Int64 value)
292292
{
293293
Int64 tvalue = (Int64)value;
294294
return new INT64(tvalue);
@@ -367,7 +367,7 @@ public static implicit operator float(FLOAT value)
367367
return value.value;
368368
}
369369

370-
public static implicit operator FLOAT(int value)
370+
public static implicit operator FLOAT(float value)
371371
{
372372
float tvalue = (float)value;
373373
return new FLOAT(tvalue);
@@ -404,7 +404,7 @@ public static implicit operator double(DOUBLE value)
404404
return value.value;
405405
}
406406

407-
public static implicit operator DOUBLE(int value)
407+
public static implicit operator DOUBLE(double value)
408408
{
409409
double tvalue = (double)value;
410410
return new DOUBLE(tvalue);
@@ -722,7 +722,7 @@ public static implicit operator Int32(OBJECT_ID value)
722722
return value.value;
723723
}
724724

725-
public static implicit operator OBJECT_ID(int value)
725+
public static implicit operator OBJECT_ID(Int32 value)
726726
{
727727
Int32 tvalue = (Int32)value;
728728
return new OBJECT_ID(tvalue);
@@ -759,7 +759,7 @@ public static implicit operator Byte(BOOL value)
759759
return value.value;
760760
}
761761

762-
public static implicit operator BOOL(int value)
762+
public static implicit operator BOOL(Byte value)
763763
{
764764
Byte tvalue = (Byte)value;
765765
return new BOOL(tvalue);
@@ -796,7 +796,7 @@ public static implicit operator Int32(CONTROLLER_ID value)
796796
return value.value;
797797
}
798798

799-
public static implicit operator CONTROLLER_ID(int value)
799+
public static implicit operator CONTROLLER_ID(Int32 value)
800800
{
801801
Int32 tvalue = (Int32)value;
802802
return new CONTROLLER_ID(tvalue);
@@ -833,7 +833,7 @@ public static implicit operator Int32(EXPERIENCE value)
833833
return value.value;
834834
}
835835

836-
public static implicit operator EXPERIENCE(int value)
836+
public static implicit operator EXPERIENCE(Int32 value)
837837
{
838838
Int32 tvalue = (Int32)value;
839839
return new EXPERIENCE(tvalue);
@@ -870,7 +870,7 @@ public static implicit operator Int32(ITEM_ID value)
870870
return value.value;
871871
}
872872

873-
public static implicit operator ITEM_ID(int value)
873+
public static implicit operator ITEM_ID(Int32 value)
874874
{
875875
Int32 tvalue = (Int32)value;
876876
return new ITEM_ID(tvalue);
@@ -907,7 +907,7 @@ public static implicit operator Int32(SKILLID value)
907907
return value.value;
908908
}
909909

910-
public static implicit operator SKILLID(int value)
910+
public static implicit operator SKILLID(Int32 value)
911911
{
912912
Int32 tvalue = (Int32)value;
913913
return new SKILLID(tvalue);
@@ -944,7 +944,7 @@ public static implicit operator Int32(QUESTID value)
944944
return value.value;
945945
}
946946

947-
public static implicit operator QUESTID(int value)
947+
public static implicit operator QUESTID(Int32 value)
948948
{
949949
Int32 tvalue = (Int32)value;
950950
return new QUESTID(tvalue);
@@ -981,7 +981,7 @@ public static implicit operator UInt64(DBID value)
981981
return value.value;
982982
}
983983

984-
public static implicit operator DBID(int value)
984+
public static implicit operator DBID(UInt64 value)
985985
{
986986
UInt64 tvalue = (UInt64)value;
987987
return new DBID(tvalue);
@@ -1018,7 +1018,7 @@ public static implicit operator UInt64(UID value)
10181018
return value.value;
10191019
}
10201020

1021-
public static implicit operator UID(int value)
1021+
public static implicit operator UID(UInt64 value)
10221022
{
10231023
UInt64 tvalue = (UInt64)value;
10241024
return new UID(tvalue);
@@ -1082,7 +1082,7 @@ public static implicit operator Int32(ENTITY_ID value)
10821082
return value.value;
10831083
}
10841084

1085-
public static implicit operator ENTITY_ID(int value)
1085+
public static implicit operator ENTITY_ID(Int32 value)
10861086
{
10871087
Int32 tvalue = (Int32)value;
10881088
return new ENTITY_ID(tvalue);
@@ -1119,7 +1119,7 @@ public static implicit operator UInt32(ENTITY_NO value)
11191119
return value.value;
11201120
}
11211121

1122-
public static implicit operator ENTITY_NO(int value)
1122+
public static implicit operator ENTITY_NO(UInt32 value)
11231123
{
11241124
UInt32 tvalue = (UInt32)value;
11251125
return new ENTITY_NO(tvalue);
@@ -1156,7 +1156,7 @@ public static implicit operator UInt32(SPACE_ID value)
11561156
return value.value;
11571157
}
11581158

1159-
public static implicit operator SPACE_ID(int value)
1159+
public static implicit operator SPACE_ID(UInt32 value)
11601160
{
11611161
UInt32 tvalue = (UInt32)value;
11621162
return new SPACE_ID(tvalue);
@@ -1273,7 +1273,7 @@ public static implicit operator UInt32(ENTITY_UTYPE value)
12731273
return value.value;
12741274
}
12751275

1276-
public static implicit operator ENTITY_UTYPE(int value)
1276+
public static implicit operator ENTITY_UTYPE(UInt32 value)
12771277
{
12781278
UInt32 tvalue = (UInt32)value;
12791279
return new ENTITY_UTYPE(tvalue);
@@ -1310,7 +1310,7 @@ public static implicit operator Int32(DAMAGE_TYPE value)
13101310
return value.value;
13111311
}
13121312

1313-
public static implicit operator DAMAGE_TYPE(int value)
1313+
public static implicit operator DAMAGE_TYPE(Int32 value)
13141314
{
13151315
Int32 tvalue = (Int32)value;
13161316
return new DAMAGE_TYPE(tvalue);
@@ -1347,7 +1347,7 @@ public static implicit operator Int32(ENMITY value)
13471347
return value.value;
13481348
}
13491349

1350-
public static implicit operator ENMITY(int value)
1350+
public static implicit operator ENMITY(Int32 value)
13511351
{
13521352
Int32 tvalue = (Int32)value;
13531353
return new ENMITY(tvalue);
@@ -1384,7 +1384,7 @@ public static implicit operator Int32(HP value)
13841384
return value.value;
13851385
}
13861386

1387-
public static implicit operator HP(int value)
1387+
public static implicit operator HP(Int32 value)
13881388
{
13891389
Int32 tvalue = (Int32)value;
13901390
return new HP(tvalue);
@@ -1421,7 +1421,7 @@ public static implicit operator Int32(MP value)
14211421
return value.value;
14221422
}
14231423

1424-
public static implicit operator MP(int value)
1424+
public static implicit operator MP(Int32 value)
14251425
{
14261426
Int32 tvalue = (Int32)value;
14271427
return new MP(tvalue);
@@ -1458,7 +1458,7 @@ public static implicit operator SByte(ENTITY_STATE value)
14581458
return value.value;
14591459
}
14601460

1461-
public static implicit operator ENTITY_STATE(int value)
1461+
public static implicit operator ENTITY_STATE(SByte value)
14621462
{
14631463
SByte tvalue = (SByte)value;
14641464
return new ENTITY_STATE(tvalue);
@@ -1495,7 +1495,7 @@ public static implicit operator Byte(ENTITY_SUBSTATE value)
14951495
return value.value;
14961496
}
14971497

1498-
public static implicit operator ENTITY_SUBSTATE(int value)
1498+
public static implicit operator ENTITY_SUBSTATE(Byte value)
14991499
{
15001500
Byte tvalue = (Byte)value;
15011501
return new ENTITY_SUBSTATE(tvalue);
@@ -1532,7 +1532,7 @@ public static implicit operator Int32(ENTITY_FORBIDS value)
15321532
return value.value;
15331533
}
15341534

1535-
public static implicit operator ENTITY_FORBIDS(int value)
1535+
public static implicit operator ENTITY_FORBIDS(Int32 value)
15361536
{
15371537
Int32 tvalue = (Int32)value;
15381538
return new ENTITY_FORBIDS(tvalue);

0 commit comments

Comments
 (0)