feat: Modify GMLIB_BinaryStream writeVec2 method to accept an object with x and z properties

This commit is contained in:
子沐呀
2024-10-12 12:20:12 +08:00
Unverified
parent 07e8c096da
commit 116fb72122
2 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -1217,10 +1217,10 @@ declare class GMLIB_BinaryStream {
value: IntPos
): GMLIB_BinaryStream;
/** 写入方向角对象 */
/** */
writeVec2(
/** 方向角对象 */
value: DirectionAngle
/** 数据 */
value: { "x": number, "z": number }
): GMLIB_BinaryStream;
/** 写入字符串 */